CC   := arm-linux-gcc
# FLAG := -g -Wall -std=c99
FLAG := -g -Wall
SRC  := $(wildcard src/*.c)
OBJS := $(patsubst %c,%o,$(SRC))
INC  := -I ./include
LIB  :=
TAG  = module_app
$(TAG):$(OBJS)
	$(CC) $(FLAG) $^ -o $@ $(LIB)
%.o:%.c
	$(CC) $(FLAG) $(INC) -c $< -o $@
.PHONY:clean
clean:
	rm -rf $(TAG) $(OBJS)
